﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="bonus_add.aspx.cs" Inherits="WebSite.admin.shop.bonus_add" %>
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>上海叶盟实业后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "促销管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>添加红包类别。&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='shop/bonus.aspx' target='content'><font color=#ff0000>红包类别</font></a>"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <table border="0" cellpadding="5" cellspacing="0">
    <tr>
      <td align="right" class="title01">类别名称</td>
      <td align="left"><input maxlength="30" name="type_name" />      </td>
    </tr>
    <tr>
      <td align="right" class="title01"><a title="点击此处查看提示信息" href="#"><img height="16" alt="点击此处查看提示信息" src="../images/notice.gif" width="16" border="0" /></a>红包金额</td>
      <td align="left"><input name="type_money" /><br />此类别的红包可以抵销的金额</td>
    </tr>
    <tr>
      <td align="right" class="title01"><a title="点击此处查看提示信息" href="#"><img height="16" alt="点击此处查看提示信息" src="../images/notice.gif" width="16" border="0" /></a>最小定单金额</td>
      <td align="left"><input name="min_goods_amount" /><br />只有商品总金额达到这个数的定单才能使用这种红包</td>
    </tr>
    <tr>
      <td align="right" class="title01">如何发放此类别红包</td>
      <td align="left"><input onclick="showunit(0)" type="radio" checked="checked" value="0" name="send_type" />
        按用户发放
        <input onclick="showunit(1)" type="radio" value="1" name="send_type" />
        按商品发放
        <input onclick="showunit(2)" type="radio" value="2" name="send_type" />
        按定单金额发放
        <input onclick="showunit(3)" type="radio" value="3" name="send_type" />
        线下发放的红包 </td>
    </tr>

    <tr>
      <td align="right" class="title01"><a title="点击此处查看提示信息" href="#"><img height="16" alt="点击此处查看提示信息" src="../images/notice.gif" width="16" border="0" /></a>发放起始日期</td>
      <td align="left"><input id="send_start_date" readonly="readOnly" size="22" value="2007-11-30" name="send_start_date" />
          <input onclick="return showCalendar('send_start_date', '%Y-%m-%d', false, false, 'selbtn1');" type="button" value="选择" name="selbtn1" /><br />只有当前时间介于起始日期和截止日期之间时，此类别的红包才可以发放</td>
    </tr>
    <tr>
      <td align="right" class="title01">发放结束日期</td>
      <td align="left"><input id="send_end_date" readonly="readOnly" size="22" value="2007-12-30" name="send_end_date" />
          <input onclick="return showCalendar('send_end_date', '%Y-%m-%d', false, false, 'selbtn2');" type="button" value="选择" name="selbtn2" />      </td>
    </tr>
    <tr>
      <td align="right" class="title01">使用起始日期</td>
      <td align="left"><input id="use_start_date" readonly="readOnly" size="22" value="2007-11-30" name="use_start_date" />
          <input onclick="return showCalendar('use_start_date', '%Y-%m-%d', false, false, 'selbtn3');" type="button" value="选择" name="selbtn3" />      </td>
    </tr>
    <tr>
      <td align="right" class="title01">使用结束日期</td>
      <td align="left"><input id="use_end_date" readonly="readOnly" size="22" value="2007-12-30" name="use_end_date" />
          <input onclick="return showCalendar('use_end_date', '%Y-%m-%d', false, false, 'selbtn4');" type="button" value="选择" name="selbtn4" />      </td>
    </tr>
    <tr>
      <td> </td>
      <td align="left"><img src="../images/buttom-02.gif" border="0" />
       <a href="javascript:form1.reset();"><img src="../images/button03.gif" border="0" /></a></td>
    </tr>
  </table>
  </td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
